We were adding event controllers at the end, but
announcing a change at the beginning, in
gtk_widget_add_controller. Fix that by emitting
::items-changed for the position where we actually
inserted the controller.
g_ptr_array_add (priv->controllers, controller);
if (priv->controller_observer)
- gtk_list_list_model_item_added_at (priv->controller_observer, 0);
+ gtk_list_list_model_item_added_at (priv->controller_observer, priv->controllers->len - 1);
}
/**